home *** CD-ROM | disk | FTP | other *** search
- Subject: Printing
- Sent: 6/7/96 1:35 PM
- Received: 6/7/96 1:51 PM
- From: Gary Ashcraft, ashcraft@dharbor.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- I've been looking at ODF's printing support.
-
- If I draw a box in the top-left corner of an ODF Draw document and print
- it, the box is offset from the corner of the page. This offset varies from
- printer to printer, and is set to the corner of the imageable area of the
- page.
-
- This works well for a drawing-type container part where big documents are
- printed by tiling the content across multiple pages. Other kinds of
- container parts, though, are page-oriented and need accurate registration
- of their content to each page. In other words, I might need to draw a
- border around the edge of a page that's inset exactly 1 inch from the edge
- of the paper.
-
- >From looking at the FW_CPrintHandler class, I think I might be able to fake
- it out by subclassing FW_CPrintHandler::PrintPage. When it's called, I'll
- have to offset pageBounds in order to remove the imageable-area bias, then
- call FW_CPrintHandler::PrintPage myself.
-
- I'm not sure this is the best approach to handling this problem. Has the
- ODF team considered this case? What do you recommend?
-
- Regards,
- Gary Ashcraft ashcraft@dharbor.com
- Digital Harbor
-
-